0 JBC
↳1 JBC2FIG (⇒)
↳2 JBCTerminationGraph
↳3 FIGtoITRSProof (⇒)
↳4 AND
↳5 IDP
↳6 IDPtoQDPProof (⇒)
↳7 QDP
↳8 UsableRulesProof (⇔)
↳9 QDP
↳10 QReductionProof (⇔)
↳11 QDP
↳12 MRRProof (⇔)
↳13 QDP
↳14 DependencyGraphProof (⇔)
↳15 QDP
↳16 MRRProof (⇔)
↳17 QDP
↳18 DependencyGraphProof (⇔)
↳19 TRUE
↳20 IDP
↳21 IDPNonInfProof (⇒)
↳22 IDP
↳23 IDependencyGraphProof (⇔)
↳24 TRUE
public class FlattenTree {
public static void main(String[] args) {
Random.args = args;
Tree tree = Tree.createTree();
flatten(tree);
}
public static Tree flatten(Tree start) {
Tree result = null;
Tree s,t,u;
while (start != null) {
if (start.left == null) {
result = new Tree(null,result);
start = start.right;
}
else {
s = start.left.left;
t = start.left.right;
u = start.right;
start = new Tree(s, new Tree(t,u));
}
}
return result;
}
}
public class Random {
static String[] args;
static int index = 0;
public static int random() {
String string = args[index];
index++;
return string.length();
}
}
public class Tree {
Tree left;
Tree right;
Object value;
public Tree(Tree l, Tree r) {
this.left = l;
this.right = r;
}
public Tree() {
}
public static Tree createNode() {
Tree result = new Tree();
result.value = new Object();
return result;
}
public static Tree createTree() {
int counter = Random.random();
if (counter == 0) {
return null;
}
Tree result = createNode();
Tree t = result;
while (counter > 0) {
int branch = Random.random();
if (branch > 0) {
if (t.left == null) {
t.left = createNode();
t = result;
} else {
t = t.left;
}
} else {
if (t.right == null) {
t.right = createNode();
t = result;
} else {
t = t.right;
}
}
counter--;
}
return result;
}
public static void main(String[] args) {
Random.args = args;
createTree();
}
}
Generated 110 rules for P and 3 rules for R.
Combined rules. Obtained 6 rules for P and 1 rules for R.
Filtered ground terms:
5117_0_flatten_Store(x1, x2, x3) → 5117_0_flatten_Store(x2, x3)
Tree(x1, x2, x3) → Tree(x2, x3)
4005_0_flatten_NULL(x1, x2, x3, x4) → 4005_0_flatten_NULL(x2, x3, x4)
4733_0_flatten_Store(x1, x2, x3, x4, x5) → 4733_0_flatten_Store(x2, x3, x4, x5)
4054_0_flatten_Return(x1, x2) → 4054_0_flatten_Return(x2)
Filtered duplicate args:
4005_0_flatten_NULL(x1, x2, x3) → 4005_0_flatten_NULL(x2, x3)
Finished conversion. Obtained 6 rules for P and 1 rules for R. System has no predefined symbols.
Generated 257 rules for P and 74 rules for R.
Combined rules. Obtained 15 rules for P and 0 rules for R.
Filtered ground terms:
Tree(x1, x2, x3) → Tree(x2, x3)
15741_0_random_ArrayAccess(x1, x2, x3) → 15741_0_random_ArrayAccess(x2, x3)
15902_0_random_IntArithmetic(x1, x2, x3, x4) → 15902_0_random_IntArithmetic(x2, x3)
Cond_15902_1_createTree_InvokeMethod9(x1, x2, x3, x4, x5) → Cond_15902_1_createTree_InvokeMethod9(x1, x2, x3)
Cond_15902_1_createTree_InvokeMethod2(x1, x2, x3, x4, x5) → Cond_15902_1_createTree_InvokeMethod2(x1, x2, x3)
Filtered all non-integer terms:
15741_1_createTree_InvokeMethod(x1, x2, x3, x4) → 15741_1_createTree_InvokeMethod(x1, x2)
Cond_15741_1_createTree_InvokeMethod(x1, x2, x3, x4, x5) → Cond_15741_1_createTree_InvokeMethod(x1, x2, x3)
15902_1_createTree_InvokeMethod(x1, x2, x3, x4) → 15902_1_createTree_InvokeMethod(x1, x2)
15902_0_random_IntArithmetic(x1, x2) → 15902_0_random_IntArithmetic(x2)
Tree(x1, x2) → Tree
Cond_15902_1_createTree_InvokeMethod(x1, x2, x3, x4, x5) → Cond_15902_1_createTree_InvokeMethod(x1, x2, x3)
Cond_15902_1_createTree_InvokeMethod1(x1, x2, x3, x4, x5) → Cond_15902_1_createTree_InvokeMethod1(x1, x2, x3)
Cond_15902_1_createTree_InvokeMethod3(x1, x2, x3, x4, x5) → Cond_15902_1_createTree_InvokeMethod3(x1, x2, x3)
Cond_15902_1_createTree_InvokeMethod4(x1, x2, x3, x4, x5) → Cond_15902_1_createTree_InvokeMethod4(x1, x2, x3)
Cond_15902_1_createTree_InvokeMethod5(x1, x2, x3, x4, x5) → Cond_15902_1_createTree_InvokeMethod5(x1, x2, x3)
Cond_15902_1_createTree_InvokeMethod6(x1, x2, x3, x4, x5) → Cond_15902_1_createTree_InvokeMethod6(x1, x2, x3)
Cond_15902_1_createTree_InvokeMethod7(x1, x2, x3, x4, x5) → Cond_15902_1_createTree_InvokeMethod7(x1, x2, x3)
Cond_15902_1_createTree_InvokeMethod8(x1, x2, x3, x4, x5) → Cond_15902_1_createTree_InvokeMethod8(x1, x2, x3)
Cond_15902_1_createTree_InvokeMethod10(x1, x2, x3, x4, x5) → Cond_15902_1_createTree_InvokeMethod10(x1, x2, x3)
Cond_15902_1_createTree_InvokeMethod11(x1, x2, x3, x4, x5) → Cond_15902_1_createTree_InvokeMethod11(x1, x2, x3)
Cond_15902_1_createTree_InvokeMethod12(x1, x2, x3, x4, x5) → Cond_15902_1_createTree_InvokeMethod12(x1, x2, x3)
Cond_15902_1_createTree_InvokeMethod13(x1, x2, x3, x4, x5) → Cond_15902_1_createTree_InvokeMethod13(x1, x2, x3)
Filtered all free variables:
15902_1_createTree_InvokeMethod(x1, x2) → 15902_1_createTree_InvokeMethod(x2)
Cond_15902_1_createTree_InvokeMethod(x1, x2, x3) → Cond_15902_1_createTree_InvokeMethod(x1, x3)
15741_1_createTree_InvokeMethod(x1, x2) → 15741_1_createTree_InvokeMethod(x2)
Cond_15902_1_createTree_InvokeMethod1(x1, x2, x3) → Cond_15902_1_createTree_InvokeMethod1(x1, x3)
Cond_15902_1_createTree_InvokeMethod2(x1, x2, x3) → Cond_15902_1_createTree_InvokeMethod2(x1, x3)
Cond_15902_1_createTree_InvokeMethod3(x1, x2, x3) → Cond_15902_1_createTree_InvokeMethod3(x1, x3)
Cond_15902_1_createTree_InvokeMethod4(x1, x2, x3) → Cond_15902_1_createTree_InvokeMethod4(x1, x3)
Cond_15902_1_createTree_InvokeMethod5(x1, x2, x3) → Cond_15902_1_createTree_InvokeMethod5(x1, x3)
Cond_15902_1_createTree_InvokeMethod6(x1, x2, x3) → Cond_15902_1_createTree_InvokeMethod6(x1, x3)
Cond_15902_1_createTree_InvokeMethod7(x1, x2, x3) → Cond_15902_1_createTree_InvokeMethod7(x1, x3)
Cond_15902_1_createTree_InvokeMethod8(x1, x2, x3) → Cond_15902_1_createTree_InvokeMethod8(x1, x3)
Cond_15902_1_createTree_InvokeMethod9(x1, x2, x3) → Cond_15902_1_createTree_InvokeMethod9(x1, x3)
Cond_15902_1_createTree_InvokeMethod10(x1, x2, x3) → Cond_15902_1_createTree_InvokeMethod10(x1, x3)
Cond_15902_1_createTree_InvokeMethod11(x1, x2, x3) → Cond_15902_1_createTree_InvokeMethod11(x1, x3)
Cond_15902_1_createTree_InvokeMethod12(x1, x2, x3) → Cond_15902_1_createTree_InvokeMethod12(x1, x3)
Cond_15902_1_createTree_InvokeMethod13(x1, x2, x3) → Cond_15902_1_createTree_InvokeMethod13(x1, x3)
Cond_15741_1_createTree_InvokeMethod(x1, x2, x3) → Cond_15741_1_createTree_InvokeMethod(x1, x3)
Combined rules. Obtained 1 rules for P and 0 rules for R.
Finished conversion. Obtained 1 rules for P and 0 rules for R. System has predefined symbols.
!= | ~ | Neq: (Integer, Integer) -> Boolean |
* | ~ | Mul: (Integer, Integer) -> Integer |
>= | ~ | Ge: (Integer, Integer) -> Boolean |
-1 | ~ | UnaryMinus: (Integer) -> Integer |
| | ~ | Bwor: (Integer, Integer) -> Integer |
/ | ~ | Div: (Integer, Integer) -> Integer |
= | ~ | Eq: (Integer, Integer) -> Boolean |
~ | Bwxor: (Integer, Integer) -> Integer | |
|| | ~ | Lor: (Boolean, Boolean) -> Boolean |
! | ~ | Lnot: (Boolean) -> Boolean |
< | ~ | Lt: (Integer, Integer) -> Boolean |
- | ~ | Sub: (Integer, Integer) -> Integer |
<= | ~ | Le: (Integer, Integer) -> Boolean |
> | ~ | Gt: (Integer, Integer) -> Boolean |
~ | ~ | Bwnot: (Integer) -> Integer |
% | ~ | Mod: (Integer, Integer) -> Integer |
& | ~ | Bwand: (Integer, Integer) -> Integer |
+ | ~ | Add: (Integer, Integer) -> Integer |
&& | ~ | Land: (Boolean, Boolean) -> Boolean |
(0) -> (1), if ((x0[0] →* x3[1])∧(java.lang.Object(Tree(x1[0], java.lang.Object(Tree(x2[0], x3[0])))) →* java.lang.Object(Tree(java.lang.Object(Tree(x0[1], x1[1])), x2[1]))))
(0) -> (3), if ((x0[0] →* x1[3])∧(java.lang.Object(Tree(x1[0], java.lang.Object(Tree(x2[0], x3[0])))) →* java.lang.Object(Tree(NULL, x0[3]))))
(0) -> (4), if ((x0[0] →* x3[4])∧(java.lang.Object(Tree(x1[0], java.lang.Object(Tree(x2[0], x3[0])))) →* java.lang.Object(Tree(java.lang.Object(Tree(x0[4], x1[4])), x2[4]))))
(0) -> (5), if ((x0[0] →* x1[5])∧(java.lang.Object(Tree(x1[0], java.lang.Object(Tree(x2[0], x3[0])))) →* java.lang.Object(Tree(NULL, x0[5]))))
(1) -> (1), if ((x3[1] →* x3[1]')∧(java.lang.Object(Tree(x0[1], java.lang.Object(Tree(x1[1], x2[1])))) →* java.lang.Object(Tree(java.lang.Object(Tree(x0[1]', x1[1]')), x2[1]'))))
(1) -> (3), if ((x3[1] →* x1[3])∧(java.lang.Object(Tree(x0[1], java.lang.Object(Tree(x1[1], x2[1])))) →* java.lang.Object(Tree(NULL, x0[3]))))
(1) -> (4), if ((x3[1] →* x3[4])∧(java.lang.Object(Tree(x0[1], java.lang.Object(Tree(x1[1], x2[1])))) →* java.lang.Object(Tree(java.lang.Object(Tree(x0[4], x1[4])), x2[4]))))
(1) -> (5), if ((x3[1] →* x1[5])∧(java.lang.Object(Tree(x0[1], java.lang.Object(Tree(x1[1], x2[1])))) →* java.lang.Object(Tree(NULL, x0[5]))))
(2) -> (1), if ((java.lang.Object(Tree(NULL, x0[2])) →* x3[1])∧(x1[2] →* java.lang.Object(Tree(java.lang.Object(Tree(x0[1], x1[1])), x2[1]))))
(2) -> (3), if ((java.lang.Object(Tree(NULL, x0[2])) →* x1[3])∧(x1[2] →* java.lang.Object(Tree(NULL, x0[3]))))
(2) -> (4), if ((java.lang.Object(Tree(NULL, x0[2])) →* x3[4])∧(x1[2] →* java.lang.Object(Tree(java.lang.Object(Tree(x0[4], x1[4])), x2[4]))))
(2) -> (5), if ((java.lang.Object(Tree(NULL, x0[2])) →* x1[5])∧(x1[2] →* java.lang.Object(Tree(NULL, x0[5]))))
(3) -> (1), if ((java.lang.Object(Tree(NULL, x1[3])) →* x3[1])∧(x0[3] →* java.lang.Object(Tree(java.lang.Object(Tree(x0[1], x1[1])), x2[1]))))
(3) -> (3), if ((java.lang.Object(Tree(NULL, x1[3])) →* x1[3]')∧(x0[3] →* java.lang.Object(Tree(NULL, x0[3]'))))
(3) -> (4), if ((java.lang.Object(Tree(NULL, x1[3])) →* x3[4])∧(x0[3] →* java.lang.Object(Tree(java.lang.Object(Tree(x0[4], x1[4])), x2[4]))))
(3) -> (5), if ((java.lang.Object(Tree(NULL, x1[3])) →* x1[5])∧(x0[3] →* java.lang.Object(Tree(NULL, x0[5]))))
(4) -> (0), if ((x3[4] →* x0[0])∧(x0[4] →* x1[0])∧(x1[4] →* x2[0])∧(x2[4] →* x3[0]))
(5) -> (2), if ((java.lang.Object(Tree(NULL, x1[5])) →* java.lang.Object(Tree(NULL, x0[2])))∧(x0[5] →* x1[2]))
4733_0_FLATTEN_STORE(x0[0], x1[0], x2[0], x3[0]) → 4005_0_FLATTEN_NULL(x0[0], java.lang.Object(Tree(x1[0], java.lang.Object(Tree(x2[0], x3[0])))))
4005_0_FLATTEN_NULL(x3[1], java.lang.Object(Tree(java.lang.Object(Tree(x0[1], x1[1])), x2[1]))) → 4005_0_FLATTEN_NULL(x3[1], java.lang.Object(Tree(x0[1], java.lang.Object(Tree(x1[1], x2[1])))))
5117_0_FLATTEN_STORE(java.lang.Object(Tree(NULL, x0[2])), x1[2]) → 4005_0_FLATTEN_NULL(java.lang.Object(Tree(NULL, x0[2])), x1[2])
4005_0_FLATTEN_NULL(x1[3], java.lang.Object(Tree(NULL, x0[3]))) → 4005_0_FLATTEN_NULL(java.lang.Object(Tree(NULL, x1[3])), x0[3])
4005_0_FLATTEN_NULL(x3[4], java.lang.Object(Tree(java.lang.Object(Tree(x0[4], x1[4])), x2[4]))) → 4733_0_FLATTEN_STORE(x3[4], x0[4], x1[4], x2[4])
4005_0_FLATTEN_NULL(x1[5], java.lang.Object(Tree(NULL, x0[5]))) → 5117_0_FLATTEN_STORE(java.lang.Object(Tree(NULL, x1[5])), x0[5])
4005_0_flatten_NULL(x0, NULL) → 4054_0_flatten_Return(x0)
4005_0_flatten_NULL(x0, NULL)
4733_0_FLATTEN_STORE(x0[0], x1[0], x2[0], x3[0]) → 4005_0_FLATTEN_NULL(x0[0], java.lang.Object(Tree(x1[0], java.lang.Object(Tree(x2[0], x3[0])))))
4005_0_FLATTEN_NULL(x3[1], java.lang.Object(Tree(java.lang.Object(Tree(x0[1], x1[1])), x2[1]))) → 4005_0_FLATTEN_NULL(x3[1], java.lang.Object(Tree(x0[1], java.lang.Object(Tree(x1[1], x2[1])))))
5117_0_FLATTEN_STORE(java.lang.Object(Tree(NULL, x0[2])), x1[2]) → 4005_0_FLATTEN_NULL(java.lang.Object(Tree(NULL, x0[2])), x1[2])
4005_0_FLATTEN_NULL(x1[3], java.lang.Object(Tree(NULL, x0[3]))) → 4005_0_FLATTEN_NULL(java.lang.Object(Tree(NULL, x1[3])), x0[3])
4005_0_FLATTEN_NULL(x3[4], java.lang.Object(Tree(java.lang.Object(Tree(x0[4], x1[4])), x2[4]))) → 4733_0_FLATTEN_STORE(x3[4], x0[4], x1[4], x2[4])
4005_0_FLATTEN_NULL(x1[5], java.lang.Object(Tree(NULL, x0[5]))) → 5117_0_FLATTEN_STORE(java.lang.Object(Tree(NULL, x1[5])), x0[5])
4005_0_flatten_NULL(x0, NULL)
4005_0_flatten_NULL(x0, NULL)
4733_0_FLATTEN_STORE(x0[0], x1[0], x2[0], x3[0]) → 4005_0_FLATTEN_NULL(x0[0], java.lang.Object(Tree(x1[0], java.lang.Object(Tree(x2[0], x3[0])))))
4005_0_FLATTEN_NULL(x3[1], java.lang.Object(Tree(java.lang.Object(Tree(x0[1], x1[1])), x2[1]))) → 4005_0_FLATTEN_NULL(x3[1], java.lang.Object(Tree(x0[1], java.lang.Object(Tree(x1[1], x2[1])))))
5117_0_FLATTEN_STORE(java.lang.Object(Tree(NULL, x0[2])), x1[2]) → 4005_0_FLATTEN_NULL(java.lang.Object(Tree(NULL, x0[2])), x1[2])
4005_0_FLATTEN_NULL(x1[3], java.lang.Object(Tree(NULL, x0[3]))) → 4005_0_FLATTEN_NULL(java.lang.Object(Tree(NULL, x1[3])), x0[3])
4005_0_FLATTEN_NULL(x3[4], java.lang.Object(Tree(java.lang.Object(Tree(x0[4], x1[4])), x2[4]))) → 4733_0_FLATTEN_STORE(x3[4], x0[4], x1[4], x2[4])
4005_0_FLATTEN_NULL(x1[5], java.lang.Object(Tree(NULL, x0[5]))) → 5117_0_FLATTEN_STORE(java.lang.Object(Tree(NULL, x1[5])), x0[5])
5117_0_FLATTEN_STORE(java.lang.Object(Tree(NULL, x0[2])), x1[2]) → 4005_0_FLATTEN_NULL(java.lang.Object(Tree(NULL, x0[2])), x1[2])
4005_0_FLATTEN_NULL(x1[3], java.lang.Object(Tree(NULL, x0[3]))) → 4005_0_FLATTEN_NULL(java.lang.Object(Tree(NULL, x1[3])), x0[3])
POL(4005_0_FLATTEN_NULL(x1, x2)) = x1 + 2·x2
POL(4733_0_FLATTEN_STORE(x1, x2, x3, x4)) = x1 + 2·x2 + 2·x3 + 2·x4
POL(5117_0_FLATTEN_STORE(x1, x2)) = 2 + x1 + 2·x2
POL(NULL) = 2
POL(Tree(x1, x2)) = x1 + x2
POL(java.lang.Object(x1)) = x1
4733_0_FLATTEN_STORE(x0[0], x1[0], x2[0], x3[0]) → 4005_0_FLATTEN_NULL(x0[0], java.lang.Object(Tree(x1[0], java.lang.Object(Tree(x2[0], x3[0])))))
4005_0_FLATTEN_NULL(x3[1], java.lang.Object(Tree(java.lang.Object(Tree(x0[1], x1[1])), x2[1]))) → 4005_0_FLATTEN_NULL(x3[1], java.lang.Object(Tree(x0[1], java.lang.Object(Tree(x1[1], x2[1])))))
4005_0_FLATTEN_NULL(x3[4], java.lang.Object(Tree(java.lang.Object(Tree(x0[4], x1[4])), x2[4]))) → 4733_0_FLATTEN_STORE(x3[4], x0[4], x1[4], x2[4])
4005_0_FLATTEN_NULL(x1[5], java.lang.Object(Tree(NULL, x0[5]))) → 5117_0_FLATTEN_STORE(java.lang.Object(Tree(NULL, x1[5])), x0[5])
4005_0_FLATTEN_NULL(x3[1], java.lang.Object(Tree(java.lang.Object(Tree(x0[1], x1[1])), x2[1]))) → 4005_0_FLATTEN_NULL(x3[1], java.lang.Object(Tree(x0[1], java.lang.Object(Tree(x1[1], x2[1])))))
4005_0_FLATTEN_NULL(x3[4], java.lang.Object(Tree(java.lang.Object(Tree(x0[4], x1[4])), x2[4]))) → 4733_0_FLATTEN_STORE(x3[4], x0[4], x1[4], x2[4])
4733_0_FLATTEN_STORE(x0[0], x1[0], x2[0], x3[0]) → 4005_0_FLATTEN_NULL(x0[0], java.lang.Object(Tree(x1[0], java.lang.Object(Tree(x2[0], x3[0])))))
4005_0_FLATTEN_NULL(x3[1], java.lang.Object(Tree(java.lang.Object(Tree(x0[1], x1[1])), x2[1]))) → 4005_0_FLATTEN_NULL(x3[1], java.lang.Object(Tree(x0[1], java.lang.Object(Tree(x1[1], x2[1])))))
4005_0_FLATTEN_NULL(x3[4], java.lang.Object(Tree(java.lang.Object(Tree(x0[4], x1[4])), x2[4]))) → 4733_0_FLATTEN_STORE(x3[4], x0[4], x1[4], x2[4])
POL(4005_0_FLATTEN_NULL(x1, x2)) = x1 + x2
POL(4733_0_FLATTEN_STORE(x1, x2, x3, x4)) = 2 + x1 + 2·x2 + 2·x3 + x4
POL(Tree(x1, x2)) = 1 + 2·x1 + x2
POL(java.lang.Object(x1)) = x1
4733_0_FLATTEN_STORE(x0[0], x1[0], x2[0], x3[0]) → 4005_0_FLATTEN_NULL(x0[0], java.lang.Object(Tree(x1[0], java.lang.Object(Tree(x2[0], x3[0])))))
!= | ~ | Neq: (Integer, Integer) -> Boolean |
* | ~ | Mul: (Integer, Integer) -> Integer |
>= | ~ | Ge: (Integer, Integer) -> Boolean |
-1 | ~ | UnaryMinus: (Integer) -> Integer |
| | ~ | Bwor: (Integer, Integer) -> Integer |
/ | ~ | Div: (Integer, Integer) -> Integer |
= | ~ | Eq: (Integer, Integer) -> Boolean |
~ | Bwxor: (Integer, Integer) -> Integer | |
|| | ~ | Lor: (Boolean, Boolean) -> Boolean |
! | ~ | Lnot: (Boolean) -> Boolean |
< | ~ | Lt: (Integer, Integer) -> Boolean |
- | ~ | Sub: (Integer, Integer) -> Integer |
<= | ~ | Le: (Integer, Integer) -> Boolean |
> | ~ | Gt: (Integer, Integer) -> Boolean |
~ | ~ | Bwnot: (Integer) -> Integer |
% | ~ | Mod: (Integer, Integer) -> Integer |
& | ~ | Bwand: (Integer, Integer) -> Integer |
+ | ~ | Add: (Integer, Integer) -> Integer |
&& | ~ | Land: (Boolean, Boolean) -> Boolean |
Boolean, Integer
(0) -> (1), if ((x0[0] > 0 && 0 < x0[0] + -1 →* TRUE)∧(x0[0] →* x0[1]))
(1) -> (0), if ((x0[1] + -1 →* x0[0]))
(1) (&&(>(x0[0], 0), <(0, +(x0[0], -1)))=TRUE∧x0[0]=x0[1] ⇒ 15741_1_CREATETREE_INVOKEMETHOD(x0[0])≥NonInfC∧15741_1_CREATETREE_INVOKEMETHOD(x0[0])≥COND_15741_1_CREATETREE_INVOKEMETHOD(&&(>(x0[0], 0), <(0, +(x0[0], -1))), x0[0])∧(UIncreasing(COND_15741_1_CREATETREE_INVOKEMETHOD(&&(>(x0[0], 0), <(0, +(x0[0], -1))), x0[0])), ≥))
(2) (>(x0[0], 0)=TRUE∧<(0, +(x0[0], -1))=TRUE ⇒ 15741_1_CREATETREE_INVOKEMETHOD(x0[0])≥NonInfC∧15741_1_CREATETREE_INVOKEMETHOD(x0[0])≥COND_15741_1_CREATETREE_INVOKEMETHOD(&&(>(x0[0], 0), <(0, +(x0[0], -1))), x0[0])∧(UIncreasing(COND_15741_1_CREATETREE_INVOKEMETHOD(&&(>(x0[0], 0), <(0, +(x0[0], -1))), x0[0])), ≥))
(3) (x0[0] + [-1] ≥ 0∧x0[0] + [-2] ≥ 0 ⇒ (UIncreasing(COND_15741_1_CREATETREE_INVOKEMETHOD(&&(>(x0[0], 0), <(0, +(x0[0], -1))), x0[0])), ≥)∧[(-1)Bound*bni_10] + [(2)bni_10]x0[0] ≥ 0∧[1 + (-1)bso_11] ≥ 0)
(4) (x0[0] + [-1] ≥ 0∧x0[0] + [-2] ≥ 0 ⇒ (UIncreasing(COND_15741_1_CREATETREE_INVOKEMETHOD(&&(>(x0[0], 0), <(0, +(x0[0], -1))), x0[0])), ≥)∧[(-1)Bound*bni_10] + [(2)bni_10]x0[0] ≥ 0∧[1 + (-1)bso_11] ≥ 0)
(5) (x0[0] + [-1] ≥ 0∧x0[0] + [-2] ≥ 0 ⇒ (UIncreasing(COND_15741_1_CREATETREE_INVOKEMETHOD(&&(>(x0[0], 0), <(0, +(x0[0], -1))), x0[0])), ≥)∧[(-1)Bound*bni_10] + [(2)bni_10]x0[0] ≥ 0∧[1 + (-1)bso_11] ≥ 0)
(6) (x0[0] ≥ 0∧[-1] + x0[0] ≥ 0 ⇒ (UIncreasing(COND_15741_1_CREATETREE_INVOKEMETHOD(&&(>(x0[0], 0), <(0, +(x0[0], -1))), x0[0])), ≥)∧[(-1)Bound*bni_10 + (2)bni_10] + [(2)bni_10]x0[0] ≥ 0∧[1 + (-1)bso_11] ≥ 0)
(7) ([1] + x0[0] ≥ 0∧x0[0] ≥ 0 ⇒ (UIncreasing(COND_15741_1_CREATETREE_INVOKEMETHOD(&&(>(x0[0], 0), <(0, +(x0[0], -1))), x0[0])), ≥)∧[(-1)Bound*bni_10 + (4)bni_10] + [(2)bni_10]x0[0] ≥ 0∧[1 + (-1)bso_11] ≥ 0)
(8) (COND_15741_1_CREATETREE_INVOKEMETHOD(TRUE, x0[1])≥NonInfC∧COND_15741_1_CREATETREE_INVOKEMETHOD(TRUE, x0[1])≥15741_1_CREATETREE_INVOKEMETHOD(+(x0[1], -1))∧(UIncreasing(15741_1_CREATETREE_INVOKEMETHOD(+(x0[1], -1))), ≥))
(9) ((UIncreasing(15741_1_CREATETREE_INVOKEMETHOD(+(x0[1], -1))), ≥)∧[1 + (-1)bso_13] ≥ 0)
(10) ((UIncreasing(15741_1_CREATETREE_INVOKEMETHOD(+(x0[1], -1))), ≥)∧[1 + (-1)bso_13] ≥ 0)
(11) ((UIncreasing(15741_1_CREATETREE_INVOKEMETHOD(+(x0[1], -1))), ≥)∧[1 + (-1)bso_13] ≥ 0)
(12) ((UIncreasing(15741_1_CREATETREE_INVOKEMETHOD(+(x0[1], -1))), ≥)∧0 = 0∧[1 + (-1)bso_13] ≥ 0)
POL(TRUE) = 0
POL(FALSE) = 0
POL(15741_1_CREATETREE_INVOKEMETHOD(x1)) = [2]x1
POL(COND_15741_1_CREATETREE_INVOKEMETHOD(x1, x2)) = [-1] + [2]x2
POL(&&(x1, x2)) = [-1]
POL(>(x1, x2)) = [-1]
POL(0) = 0
POL(<(x1, x2)) = [-1]
POL(+(x1, x2)) = x1 + x2
POL(-1) = [-1]
15741_1_CREATETREE_INVOKEMETHOD(x0[0]) → COND_15741_1_CREATETREE_INVOKEMETHOD(&&(>(x0[0], 0), <(0, +(x0[0], -1))), x0[0])
COND_15741_1_CREATETREE_INVOKEMETHOD(TRUE, x0[1]) → 15741_1_CREATETREE_INVOKEMETHOD(+(x0[1], -1))
15741_1_CREATETREE_INVOKEMETHOD(x0[0]) → COND_15741_1_CREATETREE_INVOKEMETHOD(&&(>(x0[0], 0), <(0, +(x0[0], -1))), x0[0])
!= | ~ | Neq: (Integer, Integer) -> Boolean |
* | ~ | Mul: (Integer, Integer) -> Integer |
>= | ~ | Ge: (Integer, Integer) -> Boolean |
-1 | ~ | UnaryMinus: (Integer) -> Integer |
| | ~ | Bwor: (Integer, Integer) -> Integer |
/ | ~ | Div: (Integer, Integer) -> Integer |
= | ~ | Eq: (Integer, Integer) -> Boolean |
~ | Bwxor: (Integer, Integer) -> Integer | |
|| | ~ | Lor: (Boolean, Boolean) -> Boolean |
! | ~ | Lnot: (Boolean) -> Boolean |
< | ~ | Lt: (Integer, Integer) -> Boolean |
- | ~ | Sub: (Integer, Integer) -> Integer |
<= | ~ | Le: (Integer, Integer) -> Boolean |
> | ~ | Gt: (Integer, Integer) -> Boolean |
~ | ~ | Bwnot: (Integer) -> Integer |
% | ~ | Mod: (Integer, Integer) -> Integer |
& | ~ | Bwand: (Integer, Integer) -> Integer |
+ | ~ | Add: (Integer, Integer) -> Integer |
&& | ~ | Land: (Boolean, Boolean) -> Boolean |
Integer